package com.j2203.service.impl;


import com.j2203.entity.GmType;
import com.j2203.mapper.GmTypeMapper;
import com.j2203.service.GmTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GmTypeServiceImpl implements GmTypeService {
    @Autowired(required = false)
    private GmTypeMapper gmTypeMapper;

    @Override
    public List<GmType> gmtypeall() {
        return gmTypeMapper.gmtypeall();
    }

    @Override
    public GmType gmtypebyid(int id) {
        return gmTypeMapper.gmtypebyid(id);
    }
}
